package com.wl.designpattern.composite;

/**
 * Created by wangliang on 2021/2/27.
 */
public class AQContent extends AQPageElement { //具体内容，只专注自己的职责
    public AQContent(String name) {
        super(name);
    }

    @Override
    public void print(String placeholder) {
        System.out.println(placeholder + "──" + getName());
    }
}
